#import <Foundation/Foundation.h>
#import "MJExtension.h"
#import "BGFMDB.h"
NS_ASSUME_NONNULL_BEGIN
@interface CTBaseModel : NSObject
+ (void)modelWithUrlString:(NSString *)urlString imageView:(UIImageView *)imageView;
+ (NSMutableArray *)modelArrayWithDictArray:(NSArray *)response;
+ (instancetype)modelWithDictionary:(NSDictionary *)dictionary;
+ (void)setUpModelClassInArrayWithContainDict:(NSDictionary *)dict;
+ (NSMutableArray *)modelArrayWithDictArray:(NSArray *)response containDict:(NSDictionary *)dict;
- (NSMutableDictionary *)model_keyValues;
- (CGFloat)getSizeOfString:(NSString *)string font:(UIFont *)font width:(float)width;
- (CGFloat)getSizeOfString:(NSString *)string lineSpace:(CGFloat)lineSpace font:(UIFont *)font width:(float)width;
#pragma mark - cache
- (void)archive;
- (id)unarchiver;
- (void)remove;
@end
NS_ASSUME_NONNULL_END
